package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/page/common")
public class PageController {
    @RequestMapping("/login")
    public String login() {
        return "login";
    }

    @RequestMapping("/notRole")
    public String notRole() {
        return "notRole";
    }

    @RequestMapping("/notPermission")
    public String notPermission() {
        return "notPermission";
    }

    @RequestMapping("/home")
    public String home() {
        return "home";
    }
}
